﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DesignerCategory("code"), XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152"), DebuggerStepThrough]
    public class IPv4Configuration
    {
        private XmlAttribute[] anyAttrField;
        private XmlElement[] anyField;
        private bool dHCPField;
        private PrefixedIPv4Address fromDHCPField;
        private PrefixedIPv4Address linkLocalField;
        private PrefixedIPv4Address[] manualField;

        [XmlAnyElement(Order=4)]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=3)]
        public bool DHCP
        {
            get
            {
                return this.dHCPField;
            }
            set
            {
                this.dHCPField = value;
            }
        }

        [XmlElement(Order=2)]
        public PrefixedIPv4Address FromDHCP
        {
            get
            {
                return this.fromDHCPField;
            }
            set
            {
                this.fromDHCPField = value;
            }
        }

        [XmlElement(Order=1)]
        public PrefixedIPv4Address LinkLocal
        {
            get
            {
                return this.linkLocalField;
            }
            set
            {
                this.linkLocalField = value;
            }
        }

        [XmlElement("Manual", Order=0)]
        public PrefixedIPv4Address[] Manual
        {
            get
            {
                return this.manualField;
            }
            set
            {
                this.manualField = value;
            }
        }
    }
}

